import request from '@/utils/request'
// 查询【请填写功能名称】列表
export function listbill(query) {
  return request({
    url: '/lgorder/inorder/getList',
    method: 'get',
    params: query
  })
}
// 查询id查询订单
export function getBillById(id) {
  return request({
    url: '/lgorder/inorder/getInfo/' + id,
    method: 'get'
  })
}
// 修改订单
export function updateBill(data) {
  return request({
    url: '/lgorder/inorder/edit',
    method: 'post',
    data: data
  })
}

//新增订单
export function addBill(data) {
  return request({
    url: '/lgorder/inorder/add',
    method: 'post',
    data: data
  })
}
// 删除订单
export function delBill(billId) {
  return request({
    url: '/lgorder/inorder/remove/' + billId,
    method: 'get'
  })
}



